<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>Docs for page sample2.php</title>
	<link rel="stylesheet" type="text/css" id="layout" href="../media/layout.css" media="screen">
	<link rel="stylesheet" type="text/css" href="../media/style.css" media="all">
	<link rel="stylesheet" type="text/css" href="../media/print.css" media="print">
</head>

<body>
<div id="header">
	<div id="navLinks">
        
                                                        
                                                	        [ <a href="../classtrees_sample.html">Class Tree: sample</a> ]
            [ <a href="../elementindex_sample.html">Index: sample</a> ]
        		[ <a href="../elementindex.html">All elements</a> ]		
	</div>
	<div id="packagePosition">
		<div id="packageTitle2">sample</div>
		<div id="packageTitle">sample</div>
		<div id="elementPath"> &middot; </div>
	</div>
</div>

<div id="nav" class="small">
	<div id="packages">
		Packages:
					<p><a href="../li_default.html">default</a></p>
					<p><a href="../li_sample.html">sample</a></p>
					<p><a href="../li_sample1.html">sample1</a></p>
			</div>

				<div id="index">
			<div id="files">
								Files:<br>
								<a href="../sample/_sample2.php.html">		sample2.php
		</a><br>
			<a href="../sample/_sample3.php.html">		sample3.php
		</a><br>
				</div>
			<div id="interfaces">
							</div>
			<div id="classes">
				Classes:<br>
					<b>classes</b><br>			<a href="../sample/classes/myclass.html">		myclass
		</a><br>
				</div>
		</div>
	</div>

<div id="body">
	    		<h1>Procedural File: sample2.php</h1>
	<p style="margin: 0px;">Source Location: /sample2.php</p>
	
<br>
<br>

<div class="contents">
<h2>Classes:</h2>
<dl>
<dt><a href="../sample/classes/myclass.html">myclass</a></dt>
	<dd>The first example class, this is in the same package as the</dd>
<dt><a href="../sample1/babyclass.html">babyclass</a></dt>
	<dd></dd>
</dl>
</div>

<h2>Page Details:</h2>
<p align="center"><strong>Sample File 2, phpDocumentor Quickstart
</strong></p>
<p>This file demonstrates the rich information that can be included in  in-code documentation through DocBlocks and tags.</p><h4>Tags:</h4>
<ul>
	<li><b>author</b> - Greg Beaver &lt;<a href="mailto:cellog@php.net">cellog@php.net</a>&gt;</li>
	<li><b>version</b> - 1.0</li>
</ul>
<hr>
Includes:<br>
include_once(<a href="../sample/_sample3.php.html">'sample3.php'</a>) <span class="linenumber">[line 15]</span>
<br />
<p align="center"><strong>Dummy include value, to demonstrate the parsing power of phpDocumentor
</strong></p>
<hr>
<div id="global">
	<a name="global$_myvar"></a>
	<h3><i>integer</i> $_myvar</h3>
	<div class="indent">
	<p class="linenumber">[line 22]</p>
	<p align="center"><strong>Special global variable declaration DocBlock
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>name</b> - $_myvar</li>
</ul>

	<p><b>Default Value:</b>6</p>
		</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
</div><hr>
<div id="define">
	<a name="defineanotherconstant"></a>
	<h3>anotherconstant</h3>
	<div class="indent">
	<p class="linenumber">[line 34]</p>
	<p><code>anotherconstant = strlen('hello')</code></p>
	<p align="center"><strong>second constant
</strong></p>
<p>Constants</p>		</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="definetesting"></a>
	<h3>testing</h3>
	<div class="indent">
	<p class="linenumber">[line 30]</p>
	<p><code>testing = 6</code></p>
	<p align="center"><strong>first constant
</strong></p>
<p>Constants</p>		</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
</div><hr>
<div id="function">
	<a name="functionfirstFunc"></a>
	<h3>firstFunc</h3>
	<div class="indent">
		<code>integer firstFunc(
string $param1, [string $param2 = &#039;optional&#039;])</code>
		<p class="linenumber">[line 44]</p>
		<p align="center"><strong>A sample function docblock
</strong></p>
<p>Constants</p><h4>Tags:</h4>
<ul>
	<li><b>global</b> - string <a href="../sample/_sample2.php.html#global$_myvar">$_myvar</a>: document the fact that this function uses $_myvar</li>
	<li><b>staticvar</b> - integer $staticvar: this is actually what is returned</li>
</ul>
		
		<h4>Parameters</h4>
		<ul>
					<li>
			<span class="type">string</span>
			<b>$param1</b> 
			- 
			name to declare</li>
					<li>
			<span class="type">string</span>
			<b>$param2</b> 
			- 
			value of the name</li>
				</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
</div>
	<div id="credit">
		<hr>
		Documentation generated on Fri, 25 Mar 2011 08:35:17 +0000 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	</div>
</div>
</body>
</html>